package com.ruoyi.system.domain.api;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 闪兑币种配置对象 e_exchange_coin
 * 
 * @author ruoyi
 * @date 2022-04-22
 */
public class EExchangeCoin extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 兑换币种 */
    @Excel(name = "兑换币种")
    private String coin;

    /** 目标币种 */
    @Excel(name = "目标币种")
    private String toCoin;

    /** 状态 1可用 0不可用 */
    @Excel(name = "状态 1可用 0不可用")
    private Long status;

    /** 兑换手续费 */
    @Excel(name = "兑换手续费")
    private BigDecimal fee;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCoin(String coin) 
    {
        this.coin = coin;
    }

    public String getCoin() 
    {
        return coin;
    }
    public void setToCoin(String toCoin) 
    {
        this.toCoin = toCoin;
    }

    public String getToCoin() 
    {
        return toCoin;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setFee(BigDecimal fee) 
    {
        this.fee = fee;
    }

    public BigDecimal getFee() 
    {
        return fee;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("coin", getCoin())
            .append("toCoin", getToCoin())
            .append("status", getStatus())
            .append("fee", getFee())
            .append("createTime", getCreateTime())
            .toString();
    }
}
